/**
 * Created by Administrator on 2017-07-20.
 */
/*管理模块js*/
var Menu = function () {
    var container = null;
    var menus = null;

    return {

        container : function () {
            return container;
        },

        //初始化参数
        init:function () {
            container = $(".page-content");
            menus = $(".page-sidebar-menu .menus .sub-menu li a");

            menus.on("click", function () {
                var url = $(this).attr("href");
                // alert(url)
                container.load(url)
                return false;
            });
        }

    };

}();
